package com.sc.util.data;
public class JudgeUtil { 
    public static String reg = "浦东发展银行·浦发JCB白金卡"; 
    public static boolean isHave(String strs,String s){ 
        for (int i = 0; i < strs.length()-1; i++) { 
            for (int j = i+1; j < strs.length(); j++) { 
                if(s.contains(strs.substring(i, j))){ 
                    return true; 
                } 
            } 
        } 
        return false; 
    }
    public static void main(String[] args) {
    	System.out.println(isHave(reg,"浦发银行"));
    	String d = "/goods/1db79978-7c59-4cfc-9903-fd50d5e57982.jpg;/goods/94746a92-51a6-4f4d-b022-ab9b947e3c84.jpg;"
    			+ "/goods/9aaef5c1-2f52-47e6-aef6-93f231320e75.jpg;/goods/e1fe49f7-dd48-426f-832c-273253bcf03c.jpg;"
    			+ "/goods/62d648ab-85fd-45a2-9138-bbe8d1d4df70.jpg;";
    	String d1 = "";
    	String[] aa = d1.split(";");
    	for(String a :aa){

        	System.out.println( a);
    	}
	}
}